# 创建类
class Restaurant:
    """模拟餐馆"""
    def __init__(self,restaurant_name,cuisine_type):
        """初始化描述餐馆属性"""
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type

    def describe_restaurant(self):
        """显示餐馆信息摘要概述"""
        msg = f"{self.restaurant_name.title()} serves wonderful {self.cuisine_type}."
        print(f"\n{msg}")

    def open_restaurant(self):
        """显示一条消息，指出餐馆正在营业"""
        msg = f"{self.restaurant_name} is open. Come on in!"
        print(f"\n{msg}")

# 创建三个实例
KFC = Restaurant("KFC","Fast_food")
KFC.describe_restaurant()

ludvigs = Restaurant("ludvig's bistro", 'seafood')
ludvigs.describe_restaurant()

mango_thai = Restaurant('mango thai', 'thai food')
mango_thai.describe_restaurant()

